package com.hangxiang.approval.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hangxiang.approval.common.TemplatePageCommon;
import com.hangxiang.approval.entity.Template;
import com.hangxiang.approval.vo.TemplateVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (Template)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-23 18:07:07
 */
@Mapper
public interface TemplateDao extends BaseMapper<Template> {


    List<TemplateVo> selectAllInfo(TemplatePageCommon common);

    Template selectByTempId(Integer value);

    void updateByTempId(Template template);
}